

import { Navigate } from "react-router-dom";
import Home from "../components/home.js";
import My from "../components/my.js";
import Order_form from "../components/order_form";
import Login from "../components/login/login.js";
export let routers = [
  {
    path:'/',
    element:<Navigate to="/home"/>
  },
  {
    path:'/home',
    element:<Home />,
    auth:1
  },
  {
    path:'/login',
    element:<Login />,
  },
  {
    path:'/order_form',
    element:<Order_form />,
    auth:1
  },
  {
    path:'/my',
    element:<My />,
    auth:1
  },
]